package com.framework.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.entity.ter.TerTerminalDue;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 * @author
 */
public interface TerTerminalDueDao extends BaseMapper<TerTerminalDue> {
    /**
     *返现期限记录列表
     * @param params
     * @return
     */
    List<Map<String, Object>> queryTerminalListByMap(Map<String, Object> params);

    /**
     *返现期限记录数量
     * @param params
     * @return
     */
    Integer queryTerminalCountByMap(Map<String, Object> params);

    /**
     * 根据id列表查询
     * @param idList
     * @return
     */
    List<TerTerminalDue> selectbyIdList(@Param("idList") Integer[] idList);

    /**
     * 批量修改
     * @param activDue
     */
    void updateTerminalDueByMap(Map<String, Object> activDue);
}
